// 车险表格数据请求参数预设
import { formatDate, timeInterval } from '@/utils/tools'

let dateBegin = timeInterval(-7).dateBegin;
let dateEnd = timeInterval(1).dateEnd;

class template implements carOrderReq{

    dateBegin =  formatDate(dateBegin)
    dateEnd =  formatDate(dateEnd)
    dateRangKing =  null
    status = []
    orderId = ''
    plateNo = ''
    vin = ''
    engineNo = ''
    insured = ''
    reviewedUserNickname = ''
    memberNickname = ''
    memberCompany = ''
    memberDepartment = ''

    public constructor(data?){

        if(data){

            Object.keys(key =>{

                if(this.hasOwnProperty(key)){
                    this[key] = data[key]
                }
                
            })
            
        }
        
    }
    
};


export default template;